package com.zmn.oms.dubbo.interfaces.finalprice;

import com.zmn.common.dto2.ResponseDTO;
import com.zmn.oms.common.dio.finalprice.FinalPriceOrderWorkAddDIO;
import com.zmn.oms.dubbo.dto.zmn.order.NewOrderDRO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

import javax.validation.constraints.NotNull;

/**
 * @ClassName FinalPriceOrderWorkRemoteService
 * @description: 一口价远程接口服务
 * @author: wangyanci
 * @create: 2022-04-12 10:58
 * @Version 1.0
 **/
@Api(
        value = "一口价工单",
        tags = {"一口价工单"}
)
public interface FinalPriceOrderWorkRemoteService {

    @ApiOperation(
            value = "新增一口价工单",
            response = ResponseDTO.class,
            tags = {"计价器工单"}
    )
    ResponseDTO<NewOrderDRO> addFinalPriceOrderWork(@NotNull(message = "入参不能为空") @ApiParam(value = "入参", required = true)
                                                            FinalPriceOrderWorkAddDIO finalPriceOrderWorkAddDIO);



}
